package com.sky.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author hu
 * @date 2025/2/8
 */
@Component
public class MyTask {

    public void showTime(){
        System.out.println("定时任务启动了..."+new Date());
    }
}
